package com.kldy8.kldyw.filmfactory.bean;

import org.json.JSONObject;

/**
 * Created by Administrator on 2016/9/5.
 */
public class Positions
{
    public int id;
    public String name;

    public static Positions resolution(JSONObject jsonObject)
    {
        if (jsonObject == null)
        {
            return  null;
        }
        Positions m_new = new Positions();
        m_new.id = jsonObject.optInt("id");
        m_new.name = jsonObject.optString("name");
        return m_new;
    }
}
